Jigoshop\Entity\Order D

Total Complexity 154
Dependencies 14
Dependents 13
Total lines 1,110
Lines of code 573
Logical lines of code 280
Comment lines 323
Methods 74
Properties 30

Methods 74

Method Rating Maintainability Complexity Lines of code
restoreState()
D
33 32 86
getProcessingFeeRule()
S
59 8 14
jsonSerialize()
S
43 5 51
getProcessingFee()
S
51 6 27
getStateToSave()
S
45 4 40
updateQuantity()
S
57 5 17
getCombinedTax()
S
59 5 15
getProcessingFeeAsPercent()
S
57 4 16
setStatus()
S
62 3 11
isShippingRequired()
S
64 3 10
getItem()
S
63 3 10
removeItem()
S
60 2 14
setShippingMethod()
S
62 2 11
__construct()
S
62 2 11
updateTaxes()
S
68 2 7
hasShippingMethod()
S
70 2 6
getCurrency()
S
71 2 6
removeDiscount()
S
67 2 8
getTotalTax()
S
71 2 6
getDiscount()
S
68 2 8
getTaxDefinitions()
S
73 2 6
setCompletedAt()
S
68 2 8
getTotalCombinedTax()
S
71 2 6
getStatus()
S
78 2 3
removeItems()
S
62 1 12
removeShippingMethod()
S
63 1 11
getShippingTax()
S
82 1 3
setIPAddressCountry()
S
81 1 3
setTaxIncluded()
S
81 1 3
getIPAddressCountry()
S
82 1 3
setIPAddress()
S
81 1 3
getIPAddress()
S
82 1 3
setEUVatValidationStatus()
S
81 1 3
getEUVatValidationStatus()
S
82 1 3
setTaxRemovalState()
S
81 1 3
setShippingTax()
S
77 1 4
getCreatedAt()
S
82 1 3
setId()
S
81 1 3
isTaxIncluded()
S
82 1 3
getTitle()
S
78 1 3
setKey()
S
81 1 3
addItem()
S
65 1 9
getKey()
S
82 1 3
setNumber()
S
81 1 3
getNumber()
S
82 1 3
setCurrency()
S
81 1 3
getTaxRemovalState()
S
82 1 3
setCreatedAt()
S
81 1 3
setTax()
S
74 1 5
getPaymentMethod()
S
82 1 3
setUpdatedAt()
S
81 1 3
getCompletedAt()
S
82 1 3
getCustomer()
S
82 1 3
setCustomer()
S
81 1 3
addDiscount()
S
79 1 3
getDiscounts()
S
82 1 3
removeDiscounts()
S
81 1 3
setTaxDefinitions()
S
80 1 3
hasItem()
S
79 1 3
getItems()
S
82 1 3
setPaymentMethod()
S
81 1 3
getTax()
S
82 1 3
getShippingPrice()
S
82 1 3
getShippingMethod()
S
82 1 3
setShippingMethodRate()
S
81 1 3
getId()
S
82 1 3
getCustomerNote()
S
82 1 3
setCustomerNote()
S
81 1 3
getProductSubtotal()
S
82 1 3
getUpdatedAt()
S
82 1 3
getSubtotal()
S
82 1 3
setSubtotal()
S
81 1 3
getTotal()
S
78 1 3
setProductSubtotal()
S
81 1 3